/*
 * @Descripttion: 商品接口
 * @version:
 * @Author: cxguo
 * @Date: 2019-08-02 15:03:05
 * @LastEditors: cxguo
 * @LastEditTime: 2020-11-06 13:24:15
 */
import axios from '@/apis/axios/index.js'
const baseUrl = `/erp/goodSpu`

export function getById(params) {
  return axios.request({
    url: `${baseUrl}/getById`,
    method: 'post',
    data: params
  })
}

export function listOptionsPage(params) {
	return axios.request({
		url: `${baseUrl}/listOptionsPage`,
		method: 'post',
		data: params
	})
}

export function listSpaceDiffTypeOptions(params) {
	return axios.request({
		url: `${baseUrl}/listSpaceDiffTypeOptions`,
		method: 'post',
		data: params
	})
}